package com.liannong.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liannong.common.Result;
import com.liannong.dto.UserDto;
import com.liannong.entity.User;

import java.util.List;
import java.util.Map;

public interface UserService extends IService<User> {
    Result register(UserDto userDto);

    Result login(UserDto userDto);

    List<Map<String, Object>> echart();
}
